﻿using System;
using Microsoft.TeamFoundation.Build.Client;

namespace Bazookabird.Common
{
    public class BuildDetailWrapper
    {
        private readonly IBuildDetail _item;

        public BuildDetailWrapper(IBuildDetail item)
        {
            _item = item;
        }

        public BuildStatus Status
        {
            get { return _item.Status; }
        }

        public DateTime FinishTime
        {
            get { return _item.FinishTime; }
        }

        public bool BuildFinished
        {
            get { return _item.BuildFinished; }
        }

        public string RequestedBy
        {
            get { return _item.RequestedBy; }
        }

        public string RequestedFor
        {
            get { return _item.RequestedFor; }
        }
    }
}
